import sys
import os

cur_file_path, filename = os.path.split(os.path.abspath(__file__))
sys.path.append(f"{cur_file_path}/../")

from l0n0lnet import run
from l0n0lnet.utils import  get_address

def on_resolve(name, address):
    print(name, address)
    return True


get_address(b"www.l0n0l.cn", on_resolve)

run()
